#if !defined(GlobalsHeader)
#define GlobalsHeader

#include <map>

#include "mutex.h"
#include "node.h"

class Stream;

class Globals {
public:
  typedef std::map<pNode, pNode> VarMap;
  VarMap varMap;

  std::map<pNode, Mutex> mutexMap;
  std::map<pNode, Stream*> streamMap;

  ReadWriteLock lock;
};

#endif
